package com.study.design.pattern.pattern.creational.abstractfactory;

/**
 * @Author: gongsl
 * @Date: 2025-01-19 22:51
 * @description: java课程工厂
 */
public class JavaCourseFactory implements CourseFactory {
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }

    @Override
    public Article getArticle() {
        return new JavaArticle();
    }
}
